package com.lqq.designPattern.structural_pattern.decorator;

//炒饭（具体构件角色）
public class FriedRice extends FastFood {

    public FriedRice() {
        super(10, "炒饭");
    }

    public float cost() {
        return getPrice();
    }
}